package com.bambooshoot.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.bambooshoot.domain.BizIncomeYearlySummary;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 年收入汇总视图对象 biz_income_yearly_summary
 *
 * @author mxc
 * @date 2024-07-09
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BizIncomeYearlySummary.class)
public class BizIncomeYearlySummaryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 收入年份
     */
    @ExcelProperty(value = "收入年份")
    @DateTimeFormat(value = "yyyy")
    private Date incomeYear;

    /**
     * 收入金额(元)
     */
    @ExcelProperty(value = "收入金额(元)")
    private BigDecimal amount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
